<?php
/**
 * ExtFlashComponent class file
 *
 * @author TrueSoftware B.V. (The Netherlands)
 * @link http://www.ext4yii.com
 * @copyright Copyright 2007-2010 TrueSoftware B.V. all rights reserved.
 * @license http://www.ext4yii.com/license/
 *          EVALUATION VERSION - NOT FOR COMMERCIAL USE OR DISTRIBUTION.
 * @version 0.7.2
 */

class ExtFlashComponent extends ExtBoxComponent
{
    /**
     * Gets the value of ExtJS backgroundColor property
     * @return String 
     */
    public function getBackgroundColor()
    {
    	return $this->getConfig("backgroundcolor");
    }

    /**
     * Sets the value of ExtJS backgroundColor property
     * @param String $value 
     */
    public function setBackgroundColor($value)
    {
    	$this->setConfig("backgroundcolor",$value);
    }

    /**
     * Gets the value of ExtJS expressInstall property
     * @return Boolean 
     */
    public function getExpressInstall()
    {
    	return $this->getConfig("expressinstall");
    }

    /**
     * Sets the value of ExtJS expressInstall property
     * @param Boolean $value 
     */
    public function setExpressInstall($value)
    {
    	$this->setConfig("expressinstall",$value);
    }

    /**
     * Gets the value of ExtJS flashParams property
     * @return Object 
     */
    public function getFlashParams()
    {
    	return $this->getConfig("flashparams");
    }

    /**
     * Sets the value of ExtJS flashParams property
     * @param Object $value 
     */
    public function setFlashParams($value)
    {
    	$this->setConfig("flashparams",$value);
    }

    /**
     * Gets the value of ExtJS flashVars property
     * @return Object 
     */
    public function getFlashVars()
    {
    	return $this->getConfig("flashvars");
    }

    /**
     * Sets the value of ExtJS flashVars property
     * @param Object $value 
     */
    public function setFlashVars($value)
    {
    	$this->setConfig("flashvars",$value);
    }

    /**
     * Gets the value of ExtJS flashVersion property
     * @return String 
     */
    public function getFlashVersion()
    {
    	return $this->getConfig("flashversion");
    }

    /**
     * Sets the value of ExtJS flashVersion property
     * @param String $value 
     */
    public function setFlashVersion($value)
    {
    	$this->setConfig("flashversion",$value);
    }

    /**
     * Gets the value of ExtJS url property
     * @return String 
     */
    public function getUrl()
    {
    	return $this->getConfig("url");
    }

    /**
     * Sets the value of ExtJS url property
     * @param String $value 
     */
    public function setUrl($value)
    {
    	$this->setConfig("url",$value);
    }

    /**
     * Gets the value of ExtJS wmode property
     * @return String 
     */
    public function getWmode()
    {
    	return $this->getConfig("wmode");
    }

    /**
     * Sets the value of ExtJS wmode property
     * @param String $value 
     */
    public function setWmode($value)
    {
    	$this->setConfig("wmode",$value);
    }

    
    public function __construct()
    {
        parent::__construct();
        $this->configmap = array_merge($this->configmap,array(
            'backgroundcolor' => 'backgroundColor',
            'expressinstall' => 'expressInstall',
            'flashparams' => 'flashParams',
            'flashvars' => 'flashVars',
            'flashversion' => 'flashVersion'
        ));

        $this->eventtable = array_merge($this->eventtable,array(
            'initialize' => array('sender')
        ));


        $this->setXType('flash');
        $this->setXClass('Ext.FlashComponent');
    }    
}
?>